#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
    long long int A, B, C;
    int n;
    scanf("%d", &n);
    for (int i = 0; i < n; i++)
    {
        scanf("%lld%lld%lld", &A, &B, &C);
        printf("Case #%d: %s\n", i + 1, (A + B) > C ? "true" : "false");
    }
    return 0;
}